/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2023-02-26
 * Time: 22:27
 */
public class TestDemo {
    public static void main(String[] args) {
        Oracle is a registered trademark of Oracle Corporation and/or its
        affiliates. Other names may be trademarks of their respective
        owners.

                Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

        mysql> show database;
        ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database' at line 1
        mysql> show databases;
        +---------------------+
                | Database            |
                +---------------------+
                | information_schema  |
| attendence_checking |
| caradmin            |
| java105             |
| java107             |
| java108             |
| mysql               |
| performance_schema  |
| sys                 |
                +---------------------+
                        9 rows in set (0.01 sec)

        mysql> use java108;
        Database changed
        mysql> select* from java108;
        ERROR 1146 (42S02): Table 'java108.java108' doesn't exist
        mysql> desc java108;
        ERROR 1146 (42S02): Table 'java108.java108' doesn't exist
        mysql> show tables;
        +-------------------+
                | Tables_in_java108 |
                +-------------------+
                | article           |
| article1          |
| goods             |
| library           |
| student           |
| teacher           |
                +-------------------+
                        6 rows in set (0.00 sec)

        mysql>













































































































































































































































































































    }
}
